#ifndef __MODULE_RELEASE__H__
#define __MODULE_RELEASE__H__

#include <string>
#include "module.h"


class ModuleRelease
{
  public:
    ModuleRelease();
    ModuleRelease(const ModuleRelease&);
    ModuleRelease(Module m, std::string release);
    virtual ~ModuleRelease();


    void setModule(Module);
    const Module &getModule();

    void setRelease(const std::string&);
    std::string getRelease();

    bool operator == (const ModuleRelease&);
    bool operator == (const Module&);

  protected:
    Module      moduleid;
    std::string release_name;
};


#endif //__MODULE_RELEASE__H__
